Take out ggv_bin, ggv_ovl, gnav_trl
authorRobert Lipe <robertlipe@gmail.com>
Thu, 17 Mar 2022 02:04:55 +0000 (21:04 -0500)
committerRobert Lipe <robertlipe@gmail.com>
Thu, 17 Mar 2022 02:04:55 +0000 (21:04 -0500)
12 files changed:
CMakeLists.txt
GPSBabel.pro
deprecated/ggv_log.cc [new file with mode: 0644]
ggv_log.cc [deleted file]
reference/format0.txt
reference/format1.txt
reference/format2.txt
reference/format3.txt
reference/help.txt
testo.d/ggv_log.test [deleted file]
vecs.cc
xmldoc/formats/ggv_log.xml [deleted file]

index 97364fb4b90c2c7a60b990ddca70cc52fbddaac6..2ced30ede75c0cb4b966a1806c83b9cace07e1c0 100644 (file)
@@ -99,7 +99,6 @@ set(ALL_FMTS ${MINIMAL_FMTS}
   gdb.cc
   geojson.cc
   ggv_bin.cc
-  ggv_log.cc
   ggv_ovl.cc
   globalsat_sport.cc
   googledir.cc
index 5c9843cd004fabc4b4594cb8f608b891e342fd3f..ff32011c4396becf3f6be4b76021b99699e43930 100644 (file)
@@ -74,7 +74,6 @@ ALL_FMTS = $$MINIMAL_FMTS \
   gdb.cc \
   geojson.cc \
   ggv_bin.cc \
-  ggv_log.cc \
   ggv_ovl.cc \
   globalsat_sport.cc \
   googledir.cc \
diff --git a/deprecated/ggv_log.cc b/deprecated/ggv_log.cc
new file mode 100644 (file)
index 0000000..730473a
--- /dev/null
@@ -0,0 +1,286 @@
+/*
+
+    Support for "GeoGrid Viewer" binary tracklogs (*.log)
+
+    Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+
+ */
+
+#include <cmath>                   // for fabs, floor, lround
+#include <cstdio>                  // for sscanf
+#include <cstring>                 // for memset, strncmp
+#include <cstdint>                 // for int16_t
+#include <ctime>                   // for gmtime
+
+#include <QString>                 // for QString
+#include <QTime>                   // for QTime
+#include <QtGlobal>                // for foreach
+
+#include "defs.h"
+#include "gbfile.h"                // for gbfputint16, gbfclose, gbfopen, gbfputflt, gbfgetc, gbfputcstr, gbfputdbl, gbfread, gbfile
+#include "grtcirc.h"               // for heading_true_degrees
+#include "src/core/datetime.h"     // for DateTime
+
+
+
+#define MYNAME "ggv_log"
+
+static gbfile* fin, *fout;
+static int ggv_log_ver;
+
+static
+QVector<arglist_t> ggv_log_args = {
+};
+
+/*******************************************************************************
+* %%%        global callbacks called by gpsbabel main process              %%% *
+*******************************************************************************/
+
+static void
+ggv_log_rd_init(const QString& fname)
+{
+  static char magic[32];
+  int len = 0;
+
+  fin = gbfopen(fname, "rb", MYNAME);
+
+  for (;;) {
+    int cin = gbfgetc(fin);
+    if (cin < 0) {
+      break;
+    }
+
+    magic[len++] = cin;
+
+    if (cin == '\0') {
+      double ver = 0;
+      if (strncmp(magic, "DOMGVGPS Logfile V", 18) != 0) {
+        break;
+      }
+
+      char* sver = &magic[18];
+      sscanf(sver, "%lf:", &ver);
+      ggv_log_ver = ver * 10;
+      if ((ggv_log_ver == 10) || (ggv_log_ver == 25)) {
+        return;  /* header accepted */
+      }
+
+      fatal(MYNAME ": Sorry, unsupported version (%s)!\n", sver);
+    } else if (len == sizeof(magic)) {
+      break;
+    }
+  }
+  fatal(MYNAME ": Invalid header. Probably no " MYNAME " file!\n");
+}
+
+static void
+ggv_log_rd_deinit()
+{
+  gbfclose(fin);
+}
+
+static void
+ggv_log_read()
+{
+  int bufsz = 0, len;
+  route_head* trk = nullptr;
+
+  switch (ggv_log_ver) {
+  case 10:
+    bufsz = 0x2A;
+    break;
+  case 25:
+    bufsz = 0x6F;
+    break;
+  }
+
+  auto* buf = (signed char*) xmalloc(bufsz);
+
+  while ((len = gbfread(buf, 1, bufsz, fin))) {
+    struct tm tm;
+
+    if (len != bufsz) {
+      break;
+    }
+
+    if (trk == nullptr) {
+      trk = new route_head;
+      track_add_head(trk);
+    }
+
+    memset(&tm, 0, sizeof(tm));
+
+    auto* wpt = new Waypoint;
+
+    int deg = (int16_t) le_read16(&buf[0]);
+    int min = le_read16(&buf[2]);
+    float sec = le_read_float(&buf[4]);
+    double xlat = (double)deg + ((double)min / 60.0) + (sec / 3600.0);
+    wpt->latitude = xlat;
+
+    deg = (int16_t) le_read16(&buf[8]);
+    min = le_read16(&buf[10]);
+    sec = le_read_float(&buf[12]);
+    double xlon = (double)deg + ((double)min / 60.0) + (sec / 3600.0);
+    wpt->longitude = xlon;
+
+    WAYPT_SET(wpt, course, le_read16(&buf[16 + 0]));
+    int milliseconds = 0;
+    if (ggv_log_ver == 10) {
+      wpt->altitude = le_read16(&buf[16 +  2]);
+      WAYPT_SET(wpt, speed, le_read16(&buf[16 +  4]));
+      tm.tm_year =    le_read16(&buf[16 +  8]);
+      tm.tm_mon =     le_read16(&buf[16 + 10]);
+      tm.tm_mday =    le_read16(&buf[16 + 12]);
+      tm.tm_hour =    le_read16(&buf[16 + 14]);
+      tm.tm_min =     le_read16(&buf[16 + 16]);
+      double secs = le_read_double(&buf[16 + 18]);
+      tm.tm_sec = (int)secs;
+      milliseconds = lround((secs - tm.tm_sec) * 1000.0);
+    } else {
+      wpt->altitude = le_read16(&buf[16 + 4]);
+      wpt->sat = (unsigned char)buf[16 + 14];
+
+      /* other probably valid double values at offset:
+
+      22: 0.0 - 20.0
+      43: 0.0 - 59.0
+      51: -1.0
+      61: -1.0
+      79: .. - 20.0 ? speed over ground ? (++)
+      87: ? course ?
+      95: 0.0 - 3.1 (++)
+      103: -1
+
+      */
+    }
+
+    if (wpt->altitude == 0) {
+      wpt->altitude = unknown_alt;
+    }
+
+    if (tm.tm_year >= 1900) {
+      tm.tm_year -= 1900;
+      if (tm.tm_mon > 0) {
+        tm.tm_mon--;
+        wpt->SetCreationTime(mkgmtime(&tm), milliseconds);
+      }
+    }
+
+    track_add_wpt(trk, wpt);
+  }
+  xfree(buf);
+}
+
+static void
+ggv_log_wr_init(const QString& fname)
+{
+  fout = gbfopen(fname, "wb", MYNAME);
+
+  gbfputcstr("DOMGVGPS Logfile V1.0:", fout);
+}
+
+static void
+ggv_log_wr_deinit()
+{
+  gbfclose(fout);
+}
+
+static void
+ggv_log_track_head_cb(const route_head* trk)
+{
+  const Waypoint* prev = nullptr;
+
+  foreach (const Waypoint* wpt, trk->waypoint_list) {
+    double  course = 0, speed = 0;
+    struct tm tm;
+    double secs = 0;
+
+    int latint = wpt->latitude;
+    int lonint = wpt->longitude;
+    double latmin = 60.0 * (fabs(wpt->latitude) - latint);
+    double lonmin = 60.0 * (fabs(wpt->longitude) - lonint);
+    double latsec = 60.0 * (latmin - floor(latmin));
+    double lonsec = 60.0 * (lonmin - floor(lonmin));
+
+    if (wpt->creation_time.isValid()) {
+      time_t t = wpt->GetCreationTime().toTime_t();
+      tm = *gmtime(&t);
+      tm.tm_mon += 1;
+      tm.tm_year += 1900;
+    } else {
+      memset(&tm, 0, sizeof(tm));
+    }
+
+    if (prev != nullptr) {
+      course = heading_true_degrees(
+                 prev->latitude, prev->longitude,
+                 wpt->latitude, wpt->longitude);
+      speed = waypt_speed(prev, wpt);
+    }
+    if (wpt->creation_time.isValid()) {
+      secs = (double)tm.tm_sec + wpt->GetCreationTime().time().msec() / 1000.0;
+    }
+
+    gbfputint16((int16_t) latint, fout);
+    gbfputint16((int16_t) latmin, fout);
+    gbfputflt(latsec, fout);
+    gbfputint16((int16_t) lonint, fout);
+    gbfputint16((int16_t) lonmin, fout);
+    gbfputflt(lonsec, fout);
+    gbfputint16((int16_t) course, fout);
+    gbfputint16((int16_t)(wpt->altitude != unknown_alt) ? wpt->altitude : 0, fout);
+    gbfputint16((int16_t) speed, fout);
+    gbfputint16(0, fout);
+    gbfputint16(tm.tm_year, fout);
+    gbfputint16(tm.tm_mon, fout);
+    gbfputint16(tm.tm_mday, fout);
+    gbfputint16(tm.tm_hour, fout);
+    gbfputint16(tm.tm_min, fout);
+    gbfputdbl(secs, fout);
+
+    prev = wpt;
+  }
+}
+
+static void
+ggv_log_write()
+{
+  track_disp_all(ggv_log_track_head_cb, nullptr, nullptr);
+}
+
+/**************************************************************************/
+
+ff_vecs_t ggv_log_vecs = {
+  ff_type_file,
+  {
+    ff_cap_none,                       /* waypoints */
+    (ff_cap)(ff_cap_read | ff_cap_write),      /* tracks */
+    ff_cap_none                        /* routes */
+  },
+  ggv_log_rd_init,
+  ggv_log_wr_init,
+  ggv_log_rd_deinit,
+  ggv_log_wr_deinit,
+  ggv_log_read,
+  ggv_log_write,
+  nullptr,
+  &ggv_log_args,
+  CET_CHARSET_ASCII, 1
+  , NULL_POS_OPS
+};
+/**************************************************************************/
diff --git a/ggv_log.cc b/ggv_log.cc
deleted file mode 100644 (file)
index 730473a..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
-
-    Support for "GeoGrid Viewer" binary tracklogs (*.log)
-
-    Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-
- */
-
-#include <cmath>                   // for fabs, floor, lround
-#include <cstdio>                  // for sscanf
-#include <cstring>                 // for memset, strncmp
-#include <cstdint>                 // for int16_t
-#include <ctime>                   // for gmtime
-
-#include <QString>                 // for QString
-#include <QTime>                   // for QTime
-#include <QtGlobal>                // for foreach
-
-#include "defs.h"
-#include "gbfile.h"                // for gbfputint16, gbfclose, gbfopen, gbfputflt, gbfgetc, gbfputcstr, gbfputdbl, gbfread, gbfile
-#include "grtcirc.h"               // for heading_true_degrees
-#include "src/core/datetime.h"     // for DateTime
-
-
-
-#define MYNAME "ggv_log"
-
-static gbfile* fin, *fout;
-static int ggv_log_ver;
-
-static
-QVector<arglist_t> ggv_log_args = {
-};
-
-/*******************************************************************************
-* %%%        global callbacks called by gpsbabel main process              %%% *
-*******************************************************************************/
-
-static void
-ggv_log_rd_init(const QString& fname)
-{
-  static char magic[32];
-  int len = 0;
-
-  fin = gbfopen(fname, "rb", MYNAME);
-
-  for (;;) {
-    int cin = gbfgetc(fin);
-    if (cin < 0) {
-      break;
-    }
-
-    magic[len++] = cin;
-
-    if (cin == '\0') {
-      double ver = 0;
-      if (strncmp(magic, "DOMGVGPS Logfile V", 18) != 0) {
-        break;
-      }
-
-      char* sver = &magic[18];
-      sscanf(sver, "%lf:", &ver);
-      ggv_log_ver = ver * 10;
-      if ((ggv_log_ver == 10) || (ggv_log_ver == 25)) {
-        return;  /* header accepted */
-      }
-
-      fatal(MYNAME ": Sorry, unsupported version (%s)!\n", sver);
-    } else if (len == sizeof(magic)) {
-      break;
-    }
-  }
-  fatal(MYNAME ": Invalid header. Probably no " MYNAME " file!\n");
-}
-
-static void
-ggv_log_rd_deinit()
-{
-  gbfclose(fin);
-}
-
-static void
-ggv_log_read()
-{
-  int bufsz = 0, len;
-  route_head* trk = nullptr;
-
-  switch (ggv_log_ver) {
-  case 10:
-    bufsz = 0x2A;
-    break;
-  case 25:
-    bufsz = 0x6F;
-    break;
-  }
-
-  auto* buf = (signed char*) xmalloc(bufsz);
-
-  while ((len = gbfread(buf, 1, bufsz, fin))) {
-    struct tm tm;
-
-    if (len != bufsz) {
-      break;
-    }
-
-    if (trk == nullptr) {
-      trk = new route_head;
-      track_add_head(trk);
-    }
-
-    memset(&tm, 0, sizeof(tm));
-
-    auto* wpt = new Waypoint;
-
-    int deg = (int16_t) le_read16(&buf[0]);
-    int min = le_read16(&buf[2]);
-    float sec = le_read_float(&buf[4]);
-    double xlat = (double)deg + ((double)min / 60.0) + (sec / 3600.0);
-    wpt->latitude = xlat;
-
-    deg = (int16_t) le_read16(&buf[8]);
-    min = le_read16(&buf[10]);
-    sec = le_read_float(&buf[12]);
-    double xlon = (double)deg + ((double)min / 60.0) + (sec / 3600.0);
-    wpt->longitude = xlon;
-
-    WAYPT_SET(wpt, course, le_read16(&buf[16 + 0]));
-    int milliseconds = 0;
-    if (ggv_log_ver == 10) {
-      wpt->altitude = le_read16(&buf[16 +  2]);
-      WAYPT_SET(wpt, speed, le_read16(&buf[16 +  4]));
-      tm.tm_year =    le_read16(&buf[16 +  8]);
-      tm.tm_mon =     le_read16(&buf[16 + 10]);
-      tm.tm_mday =    le_read16(&buf[16 + 12]);
-      tm.tm_hour =    le_read16(&buf[16 + 14]);
-      tm.tm_min =     le_read16(&buf[16 + 16]);
-      double secs = le_read_double(&buf[16 + 18]);
-      tm.tm_sec = (int)secs;
-      milliseconds = lround((secs - tm.tm_sec) * 1000.0);
-    } else {
-      wpt->altitude = le_read16(&buf[16 + 4]);
-      wpt->sat = (unsigned char)buf[16 + 14];
-
-      /* other probably valid double values at offset:
-
-      22: 0.0 - 20.0
-      43: 0.0 - 59.0
-      51: -1.0
-      61: -1.0
-      79: .. - 20.0 ? speed over ground ? (++)
-      87: ? course ?
-      95: 0.0 - 3.1 (++)
-      103: -1
-
-      */
-    }
-
-    if (wpt->altitude == 0) {
-      wpt->altitude = unknown_alt;
-    }
-
-    if (tm.tm_year >= 1900) {
-      tm.tm_year -= 1900;
-      if (tm.tm_mon > 0) {
-        tm.tm_mon--;
-        wpt->SetCreationTime(mkgmtime(&tm), milliseconds);
-      }
-    }
-
-    track_add_wpt(trk, wpt);
-  }
-  xfree(buf);
-}
-
-static void
-ggv_log_wr_init(const QString& fname)
-{
-  fout = gbfopen(fname, "wb", MYNAME);
-
-  gbfputcstr("DOMGVGPS Logfile V1.0:", fout);
-}
-
-static void
-ggv_log_wr_deinit()
-{
-  gbfclose(fout);
-}
-
-static void
-ggv_log_track_head_cb(const route_head* trk)
-{
-  const Waypoint* prev = nullptr;
-
-  foreach (const Waypoint* wpt, trk->waypoint_list) {
-    double  course = 0, speed = 0;
-    struct tm tm;
-    double secs = 0;
-
-    int latint = wpt->latitude;
-    int lonint = wpt->longitude;
-    double latmin = 60.0 * (fabs(wpt->latitude) - latint);
-    double lonmin = 60.0 * (fabs(wpt->longitude) - lonint);
-    double latsec = 60.0 * (latmin - floor(latmin));
-    double lonsec = 60.0 * (lonmin - floor(lonmin));
-
-    if (wpt->creation_time.isValid()) {
-      time_t t = wpt->GetCreationTime().toTime_t();
-      tm = *gmtime(&t);
-      tm.tm_mon += 1;
-      tm.tm_year += 1900;
-    } else {
-      memset(&tm, 0, sizeof(tm));
-    }
-
-    if (prev != nullptr) {
-      course = heading_true_degrees(
-                 prev->latitude, prev->longitude,
-                 wpt->latitude, wpt->longitude);
-      speed = waypt_speed(prev, wpt);
-    }
-    if (wpt->creation_time.isValid()) {
-      secs = (double)tm.tm_sec + wpt->GetCreationTime().time().msec() / 1000.0;
-    }
-
-    gbfputint16((int16_t) latint, fout);
-    gbfputint16((int16_t) latmin, fout);
-    gbfputflt(latsec, fout);
-    gbfputint16((int16_t) lonint, fout);
-    gbfputint16((int16_t) lonmin, fout);
-    gbfputflt(lonsec, fout);
-    gbfputint16((int16_t) course, fout);
-    gbfputint16((int16_t)(wpt->altitude != unknown_alt) ? wpt->altitude : 0, fout);
-    gbfputint16((int16_t) speed, fout);
-    gbfputint16(0, fout);
-    gbfputint16(tm.tm_year, fout);
-    gbfputint16(tm.tm_mon, fout);
-    gbfputint16(tm.tm_mday, fout);
-    gbfputint16(tm.tm_hour, fout);
-    gbfputint16(tm.tm_min, fout);
-    gbfputdbl(secs, fout);
-
-    prev = wpt;
-  }
-}
-
-static void
-ggv_log_write()
-{
-  track_disp_all(ggv_log_track_head_cb, nullptr, nullptr);
-}
-
-/**************************************************************************/
-
-ff_vecs_t ggv_log_vecs = {
-  ff_type_file,
-  {
-    ff_cap_none,                       /* waypoints */
-    (ff_cap)(ff_cap_read | ff_cap_write),      /* tracks */
-    ff_cap_none                        /* routes */
-  },
-  ggv_log_rd_init,
-  ggv_log_wr_init,
-  ggv_log_rd_deinit,
-  ggv_log_wr_deinit,
-  ggv_log_read,
-  ggv_log_write,
-  nullptr,
-  &ggv_log_args,
-  CET_CHARSET_ASCII, 1
-  , NULL_POS_OPS
-};
-/**************************************************************************/
index 185428c9eff9d9e975d321bfcf0cee8a727ae1df..c34427103b0b2978e0677fbdf8cbf6869f29565f 100644 (file)
@@ -30,9 +30,6 @@ garmin_gpi    gpi     Garmin Points of Interest (.gpi)
 garmin         Garmin serial/USB protocol
 gtrnctr        tcx/crs/hst/xml Garmin Training Center (.tcx/.crs/.hst/.xml)
 geo    loc     Geocaching.com .loc
-ggv_ovl        ovl     Geogrid-Viewer ascii overlay file (.ovl)
-ggv_bin        ovl     Geogrid-Viewer binary overlay file (.ovl)
-ggv_log        log     Geogrid-Viewer tracklogs (.log)
 geojson        json    GeoJson
 geonet txt     GEOnet Names Server (GNS)
 dg-100         GlobalSat DG-100/BT-335 Download
index d7245d3366985582097839bec824d5e6adf48877..9827f22fa106b851112b841b5a662030175801b2 100644 (file)
@@ -33,9 +33,6 @@ file  garmin_gpi      gpi     Garmin Points of Interest (.gpi)
 serial garmin          Garmin serial/USB protocol
 file   gtrnctr tcx/crs/hst/xml Garmin Training Center (.tcx/.crs/.hst/.xml)
 file   geo     loc     Geocaching.com .loc
-file   ggv_ovl ovl     Geogrid-Viewer ascii overlay file (.ovl)
-file   ggv_bin ovl     Geogrid-Viewer binary overlay file (.ovl)
-file   ggv_log log     Geogrid-Viewer tracklogs (.log)
 file   geojson json    GeoJson
 file   geonet  txt     GEOnet Names Server (GNS)
 internal       dg-100-bin              GlobalSat DG-100/BT-335 Binary File
index 96eedebc57f5892a147ab268eacb2987e38f509f..ca952871bd2aa0a921f3f0dadaa5fe05631c9af1 100644 (file)
@@ -33,9 +33,6 @@ file  rw----  garmin_gpi      gpi     Garmin Points of Interest (.gpi)
 serial rwrwrw  garmin          Garmin serial/USB protocol
 file   r-rw--  gtrnctr tcx/crs/hst/xml Garmin Training Center (.tcx/.crs/.hst/.xml)
 file   rw----  geo     loc     Geocaching.com .loc
-file   rwrwrw  ggv_ovl ovl     Geogrid-Viewer ascii overlay file (.ovl)
-file   --r---  ggv_bin ovl     Geogrid-Viewer binary overlay file (.ovl)
-file   --rw--  ggv_log log     Geogrid-Viewer tracklogs (.log)
 file   rwrwrw  geojson json    GeoJson
 file   rw----  geonet  txt     GEOnet Names Server (GNS)
 internal       r-r---  dg-100-bin              GlobalSat DG-100/BT-335 Binary File
index 0d5d28b55f3aaa62b6390cf4825d5234bbd17281..00c83f56b1f2d350adb555ebc306696b5b57f6bb 100644 (file)
@@ -370,12 +370,6 @@ option     geo     deficon Default icon name       string                          https://www.gpsbabel.org/WEB_DOC_
 
 option geo     nuke_placer     Omit Placer name        boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html#fmt_geo_o_nuke_placer
 
-file   rwrwrw  ggv_ovl ovl     Geogrid-Viewer ascii overlay file (.ovl)        ggv_ovl
-       https://www.gpsbabel.org/WEB_DOC_DIR/fmt_ggv_ovl.html
-file   --r---  ggv_bin ovl     Geogrid-Viewer binary overlay file (.ovl)       ggv_bin
-       https://www.gpsbabel.org/WEB_DOC_DIR/fmt_ggv_bin.html
-file   --rw--  ggv_log log     Geogrid-Viewer tracklogs (.log) ggv_log
-       https://www.gpsbabel.org/WEB_DOC_DIR/fmt_ggv_log.html
 file   rwrwrw  geojson json    GeoJson geojson
        https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geojson.html
 option geojson compact Compact Output. Default is off. boolean                         https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geojson.html#fmt_geojson_o_compact
index 3f072052a989f6518e417a736a95886f879adab5..6d0c9e3b861ab7c5c23e18e08dad1121d54dbacd 100644 (file)
@@ -193,9 +193,6 @@ File Types (-i and -o options):
        geo                   Geocaching.com .loc
          deficon               Default icon name 
          nuke_placer           (0/1) Omit Placer name 
-       ggv_ovl               Geogrid-Viewer ascii overlay file (.ovl)
-       ggv_bin               Geogrid-Viewer binary overlay file (.ovl)
-       ggv_log               Geogrid-Viewer tracklogs (.log)
        geojson               GeoJson
          compact               (0/1) Compact Output. Default is off. 
        geonet                GEOnet Names Server (GNS)
diff --git a/testo.d/ggv_log.test b/testo.d/ggv_log.test
deleted file mode 100644 (file)
index 65244be..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Geogrid Viewer tracklogs
-#
-rm -f ${TMPDIR}/ggv_log*
-gpsbabel -i gdb -f ${REFERENCE}/gdb-sample.gdb -x track,pack -o ggv_log -F ${TMPDIR}/ggv_log-sample.log
-bincompare ${REFERENCE}/track/ggv_log-sample.log ${TMPDIR}/ggv_log-sample.log
-gpsbabel -i ggv_log -f ${REFERENCE}/track/ggv_log-sample.log -o ggv_log -F ${TMPDIR}/ggv_log-sample2.log
-bincompare ${REFERENCE}/track/ggv_log-sample.log ${TMPDIR}/ggv_log-sample2.log
-
diff --git a/vecs.cc b/vecs.cc
index a106b716fff2c45a7ce88f285080526a4a8ebeb7..00ecb372e969ce4ff9cc99c97beb2f1b5bf8c828 100644 (file)
--- a/vecs.cc
+++ b/vecs.cc
@@ -115,7 +115,6 @@ extern ff_vecs_t garmin_txt_vecs;
 #endif // CSVFMTS_ENABLED
 extern ff_vecs_t dmtlog_vecs;
 extern ff_vecs_t raymarine_vecs;
-extern ff_vecs_t ggv_log_vecs;
 extern ff_vecs_t lmx_vecs;
 extern ff_vecs_t xol_vecs;
 extern ff_vecs_t navilink_vecs;
@@ -202,7 +201,6 @@ struct Vecs::Impl
   GtrnctrFormat gtc_fmt;
   LegacyFormat dmtlog_fmt {dmtlog_vecs};
   LegacyFormat raymarine_fmt {raymarine_vecs};
-  LegacyFormat ggv_log_fmt {ggv_log_vecs};
   GarminGPIFormat garmin_gpi_fmt;
   LegacyFormat lmx_fmt {lmx_vecs};
   RandomFormat random_fmt;
@@ -576,13 +574,6 @@ struct Vecs::Impl
       "rwf",
       nullptr,
     },
-    {
-      &ggv_log_fmt,
-      "ggv_log",
-      "Geogrid-Viewer tracklogs (.log)",
-      "log",
-      nullptr,
-    },
     {
       &garmin_gpi_fmt,
       "garmin_gpi",
@@ -723,13 +714,6 @@ struct Vecs::Impl
       "bin",
       nullptr,
     },
-    {
-      &ggv_ovl_fmt,
-      "ggv_ovl",
-      "Geogrid-Viewer ascii overlay file (.ovl)",
-      "ovl",
-      nullptr,
-    },
     {
       &itracku_fmt,
       "itracku",
@@ -877,13 +861,6 @@ struct Vecs::Impl
       "json",
       nullptr,
     },
-    {
-      &ggv_bin_fmt,
-      "ggv_bin",
-      "Geogrid-Viewer binary overlay file (.ovl)",
-      "ovl",
-      nullptr,
-    },
     {
       &globalsat_sport_fmt,
       "globalsat",
diff --git a/xmldoc/formats/ggv_log.xml b/xmldoc/formats/ggv_log.xml
deleted file mode 100644 (file)
index d5fcdf5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<para>
-   Binary track logs used by the <productname>Geogrid</productname>-Viewer, a very
-   popular product in Germany.
-</para>
-<para>
-   GPSBabel has full support for version 1.0 of this file format.
-</para>
-<para>
-   We can also read some GPS data (including coordinates) from version 2.5. But
-   it seems, that this newer version no longer stores time stamps. This can be
-   a problem when converting to other formats or if you want to use our track filter.
-</para>